-- GENERATED SPELL FOR [Scout Captain Carter] --


function spell0_27783(pUnit, Event) --@Debilitating Strike,n/a--
pUnit:FullCastSpellOnTarget(38621,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_27783', 691, 1)
end

function Sorts_27783(pUnit, Event)
local choix_sorts_27783 = math.random(0, 0)
if choix_sorts_27783 == 0 then
pUnit:RegisterEvent('spell0_27783', 1, 1)
end
end

function mob27783_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27783', math.random(1500, 3000), 1)
end

function mob27783_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27783_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27783_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27783, 1, 'mob27783_Action')
RegisterUnitEvent(27783, 2, 'mob27783_Leave')
RegisterUnitEvent(27783, 3, 'mob27783_Kill')
RegisterUnitEvent(27783, 4, 'mob27783_Die')
